import {
	post,
	get
} from "../request.js"

//获取绑定信息
export const getuserInfo = () => get("/userInfo/information")

//获取指定用户的绑定信息
export const getuserInfoById = (userId) => get("/userInfo/informationByUserId",{userId})

//绑定用户信息
export const completeUserInfo = (userInfo) => post('/userInfo/complete', userInfo)

//是否完善用户资料
export const getUserInfoStatus = ()=> get('/userInfo/userInfoStatus')